package io.renren.modules.school.controller;

import io.renren.common.utils.R;
import io.renren.modules.school.entity.BasicScoreEntity;
import io.renren.modules.school.service.BasicScoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("basicscore")
public class BasicScoreController {
    @Autowired
    private BasicScoreService basicScoreService;

    @RequestMapping("/basicScore")
    public R createPredivtor(@RequestBody BasicScoreEntity params){
        basicScoreService.getBasicScore(params);
        return R.ok().put("page", "page");
    }
}
